<?php

class Elem_question_types_model extends Onecore_Model
{

    public function __construct()
    {
        parent::__construct();
        $this->_name = "elem_question_types";
        $this->_id = array("id");
        $this->_fields = array("id","name","description");
        $this->_fieldsConditions = array("ModuloId"=>"where","name"=>"like","description"=>"like");
        $this->_itemName = "Tipo Pregunta";
        $this->_validations = array(
            array(
                "field"=>"name",
                "label"=>"Nombre",
                "rules"=>"required"
            )  
        );
    }   
}